#include <stdio.h>
#include <stdlib.h>
int main()
{
    const char *p1 = "Hello";
    char *p2 = NULL;
    int i;
    do
    {
        p2 = (char *)malloc(6);
    } while (p2 == NULL);
    for (i = 0; i < 6; i++)
    {
        p2[i] = p1[i];
    }
    printf("%s\n", p2);
    free(p2);
    return 0;
}